package com.lht.testDemo.tomcat;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-12-03
 */
public class Bootstrap {

    public static void mian(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {

        Servlet myServlet = (Servlet) (Class.forName("com.lht.testDemo.tomcat.MyServlet")).newInstance();
        Tomcat tomcat = new Tomcat(myServlet);
        tomcat.run();
    }
}
